package com.bytedance.ttnet.utils;

import com.bytedance.frameworks.baselib.network.http.f;
import com.bytedance.retrofit2.Call;

import java.net.URI;

final class b implements f {
    private final String a;
    private final Call b;

    b(String arg1, Call arg2) {
        this.a = arg1;
        this.b = arg2;

    }

    public final URI a() {
        return URI.create(this.a);
    }

    public final void b() {
        try {
            if(this.b == null) {
                return;
            }

            this.b.cancel();
        }
        catch(Throwable v0) {
        }
    }
}

